package com.lagou.zuoye.dao;

import com.lagou.zuoye.bean.Student;

import java.util.List;

public interface StudentDao {
    //自定义抽象方法实现增加学员
    public abstract int addStudent(Student student);

    //自定义成员方法实现删除学员
    int deleteStudent(String name);

    //自定义成员方法实现修改学员信息
    int alterStudent(Student student,String name);

    //自定义成员方法实现根据姓名查询学员的所有信息
    Student selectStudent(String name);

    //自定义成员方法实现学员的展示
    List<Student> viewAllStudent();


}
